﻿using SmartWMS.Common.ResponseOutput;
using SmartWMS.Domain.BusinessManage;
using SmartWMS.Server.BusinessServer.SalesReturns.Dto;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SmartWMS.Server.BusinessServer.SalesReturns
{
    /// <summary>
    /// 采购退货接口
    /// </summary>
    public interface ISalesReturns:ITransientServer
    {
        Task<Response<bool>> AddCollection(PaymentDto input);


        /// <summary>
        /// 修改审核状态
        /// </summary>
        Task<Response<bool>> UpProcuremenReturnState(ProcuremenReturnInfo input);


        /// <summary>
        /// 产品信息
        /// </summary>
        Task<ProcuremenReturnInfo> GetProductProcList(ProcuremenReturnInfo info);


        /// <summary>
        /// 产品信息列表
        /// </summary>
        Task<List<ProcuremenReturnInfo>> GetProductProcLists(ProcuremenReturnInfo info);

        /// <summary>
        /// 采购退货信息分页查询
        /// </summary>
        Task<Response<List<ProcuremenReturnInfo>>> GetPageProductProcList(ProcuremenReturnInfo info);

        /// <summary>
        /// 批量删除采购退货信息
        /// </summary>
        Task<Response<bool>> PlDelProcuremenReturn(List<ProcuremenReturn> input);


        /// <summary>
        /// 采购退货删除
        /// </summary>
        Task<Response<bool>> DelProcuremenReturn(ProcuremenReturnInfo info);
    }
}
